<ul class="sidebar-nav">
    #for(x : class2)

    #if(x.id == paraToInt1)
    <li class="active">
        <a href="/#(paraToInt0)-#(x.id)">
            <i>#(for.index)</i>
            <span>#(x.name)</span>
        </a>
    </li>
    #else
    <li>
        <a href="/#(paraToInt0)-#(x.id)">
            <i>#(for.index)</i>
            <span>#(x.name)</span>
        </a>
    </li>
    #end
    #end
</ul>